<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE HTML>
<html>
<head>
    <title>上传列表</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.css">
    <script type="text/javascript" src="/static/jquery/js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="/static/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" src="/static/ueditor/ueditor.all.min.js"></script>

    <script src="/static/js/plugin/jquery-1.9.1.min.js"></script>
    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">

    <div class="jumbotron">
        <h2>活动发布中心</h2>
        <form action="/upload" method="post">
            <div class="form-group">
                <%--<label for="exampleInputEmail1">活动名称</label>--%>
                <input type="text" class="form-control" name="name" id="exampleInputEmail1" placeholder="活动名称">
            </div>
            <div class="form-group">
                <%--<label for="exampleInputEmail1">活动名称</label>--%>
                <input type="text" class="form-control" name="dd" id="exampleInputEmail1" placeholder="详细地址">
            </div>
            <div class="form-group">
                <%--<label for="exampleInputPassword1"></label>--%>
                <input type="text" class="form-control" name ="desc" id="exampleInputPassword1" placeholder="简短描述">
            </div>

            <div class="form-group">
                <script type="text/plain" id="editor" name="content"></script>
            </div>

            <button type="submit" class="btn btn-primary">提交</button>
        </form>

    </div>



</div>
<script type="text/javascript">
    $(function(){
        window.msg_editor = new UE.ui.Editor({initialFrameWidth: 1000, initialFrameHeight: 200});
        window.msg_editor.render("editor");

//        var ue = UE.getEditor('editor', {
//            toolbars: [
//                ['fullscreen', 'source', 'undo', 'redo', 'bold']
//            ],
//            initialFrameWidth: 1000, initialFrameHeight: 200,
//            autoHeightEnabled: true,
//            autoFloatEnabled: true
//        });


    })
</script>

</body>
</html>